/* 详情页样式 */
:root {
    --primary-color: #3f51b5;
    --secondary-color: #ff4081;
    --accent-color: #00bcd4;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --text-color: #333;
    --text-color-secondary: #666;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --border-color: #eee;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --active-tab-color: #3f51b5;
    --card-radius: 12px;
    --card-bg: #fff;
    --body-bg: #f9f9f9;
    --content-max-width: 450px; /* 添加内容最大宽度变量 */
    --animation-time: 0.3s;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
    transition: background-color var(--animation-time) ease;
}

/* 页面过渡动画 */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--animation-time) ease;
}

/* 滚动效果头部 */
.header-scrolled {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    max-width: var(--content-max-width);
    margin: 0 auto;
    transition: padding var(--animation-time) ease;
}

.back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    border-radius: 50%;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: var(--medium-gray);
    transform: translateX(-2px);
}

.back-btn:active {
    transform: scale(0.9) translateX(-2px);
}

.header-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.1);
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    border-radius: 50%;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--medium-gray);
    transform: rotate(15deg);
}

.share-btn:active {
    transform: scale(0.9) rotate(15deg);
}

/* 主要内容区域 */
.main-content {
    padding: 15px;
    margin-top: 60px; /* header高度 */
    margin-bottom: 60px; /* tab-bar 高度 */
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transition: padding 0.3s ease;
}

/* 院校Banner */
.school-banner {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-bottom: 20px;
}

.school-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.school-banner:hover .school-cover {
    transform: scale(1.05);
}

.school-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 1;
}

.school-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.school-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 16px;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.school-tag:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* 详情导航 */
.detail-nav {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px var(--shadow-color);
    position: sticky;
    top: 60px;
    z-index: 10;
    overflow: hidden;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-color-secondary);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-item.active::after {
    width: 40%;
}

/* 内容区域 */
.detail-content {
    margin-bottom: 20px;
}

.content-section {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 10px var(--shadow-color);
    overflow: hidden;
    margin-bottom: 15px;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.content-section.active {
    display: block;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    margin-right: 8px;
    border-radius: 2px;
}

.section-content {
    padding: 15px;
}

.school-intro {
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

/* 基本信息列表 */
.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 13px;
    color: var(--text-color-secondary);
    margin-bottom: 5px;
}

.info-value {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

/* 校园环境画廊 */
.campus-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.campus-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-item {
    flex: 0 0 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 专业列表 */
.major-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.major-item {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.major-item:hover {
    background-color: var(--medium-gray);
    transform: translateX(5px);
}

.major-item.featured {
    border-left: 4px solid var(--primary-color);
}

.major-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.major-desc {
    font-size: 13px;
    color: var(--text-color-secondary);
}

/* 就业率 */
.employment-rate {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.rate-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0% var(--percentage), var(--light-gray) var(--percentage) 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rate-circle::before {
    content: '';
    width: 130px;
    height: 130px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
}

.rate-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.rate-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-top: 5px;
}

/* 相关院校推荐 */
.related-section {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 10px var(--shadow-color);
    overflow: hidden;
    margin-bottom: 70px;
}

.related-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.related-list::-webkit-scrollbar {
    display: none;
}

.related-item {
    flex: 0 0 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.related-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.related-info {
    padding: 10px;
}

.related-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.related-type {
    font-size: 12px;
    color: var(--text-color-secondary);
}

/* 悬浮按钮 */
.action-buttons {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    max-width: calc(var(--content-max-width) - 30px);
    margin: 0 auto;
    z-index: 100;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.collect-btn {
    flex: 0 0 120px;
    background-color: var(--light-gray);
    color: var(--text-color);
}

.collect-btn i {
    margin-right: 5px;
    font-size: 18px;
    color: var(--warning-color);
}

.collect-btn.active i {
    animation: pulse 0.5s ease;
}

.apply-btn {
    flex: 1;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--shadow-color);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* iPhone 15 适配 */
@media screen and (min-width: 390px) and (max-width: 390px) and (min-height: 844px) and (max-height: 844px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .main-content {
        padding-bottom: calc(env(safe-area-inset-bottom) + 65px);
    }
    
    .action-buttons {
        bottom: calc(15px + env(safe-area-inset-bottom));
    }
}

/* 暗黑模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #1e1e1e;
        --body-bg: #121212;
        --text-color: #e0e0e0;
        --text-color-secondary: #a0a0a0;
        --light-gray: #2a2a2a;
        --medium-gray: #3a3a3a;
        --border-color: #333;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
    
    .header-title {
        background-image: linear-gradient(45deg, #5c6bc0, #26c6da);
    }
    
    .rate-circle::before {
        background-color: var(--card-bg);
    }
    
    .school-info {
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    }
}

/* 提示消息 */
.toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #1e1e1e;
        --body-bg: #121212;
        --text-color: #e0e0e0;
        --text-color-secondary: #a0a0a0;
        --light-gray: #2a2a2a;
        --medium-gray: #3a3a3a;
        --border-color: #333;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
    
    .header-title {
        background-image: linear-gradient(45deg, #5c6bc0, #26c6da);
    }
    
    .rate-circle::before {
        background-color: var(--card-bg);
    }
    
    .school-info {
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    }
}

/* 岗位和实习相关样式 */
.job-list,
.internship-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.job-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.job-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--text-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.job-salary {
    font-size: 15px;
    font-weight: 600;
    color: #f56c6c;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.job-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    background-color: rgba(63, 81, 181, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.job-desc {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-color-secondary);
}

.job-location {
    display: flex;
    align-items: center;
}

.job-location i {
    margin-right: 4px;
    font-size: 14px;
}

.job-company {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color-secondary);
    margin-bottom: 4px;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-deadline {
    font-size: 12px;
    color: var(--text-color-secondary);
}

.apply-now-btn {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-now-btn:hover {
    background-color: #324191;
}

.view-more-btn-container {
    text-align: center;
    margin-top: 15px;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(63, 81, 181, 0.1);
    transition: background-color 0.3s ease;
}

.view-more-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-more-link:hover {
    background-color: rgba(63, 81, 181, 0.2);
}

.view-more-link:hover i {
    transform: translateX(3px);
}

/* 校园招聘计划样式 */
.plan-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    margin-bottom: 20px;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.plan-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.plan-status {
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 12px;
    background-color: rgba(64, 158, 255, 0.1);
    color: #409eff;
}

.plan-status.ongoing {
    background-color: rgba(103, 194, 58, 0.1);
    color: #67c23a;
}

.plan-status.upcoming {
    background-color: rgba(230, 162, 60, 0.1);
    color: #e6a23c;
}

.plan-status.ended {
    background-color: rgba(144, 147, 153, 0.1);
    color: #909399;
}

.plan-content {
    padding: 15px;
}

.plan-info {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.plan-info i {
    margin-right: 5px;
    font-size: 16px;
}

.plan-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 15px 0;
}

.plan-schedule {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.plan-schedule::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.schedule-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.schedule-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    margin-bottom: 8px;
}

.schedule-dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.schedule-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
}

.schedule-date {
    font-size: 12px;
    color: var(--text-color-secondary);
}

.plan-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    background-color: var(--light-gray);
}

.plan-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plan-btn:not(.apply) {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.plan-btn.apply {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 校园活动加载动画 */
.event-list {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-list.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    z-index: 10;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.event-item {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    animation: fadeInUp 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-item:nth-child(1) { animation-delay: 0.1s; }
.event-item:nth-child(2) { animation-delay: 0.2s; }
.event-item:nth-child(3) { animation-delay: 0.3s; }
.event-item:nth-child(4) { animation-delay: 0.4s; }
.event-item:nth-child(5) { animation-delay: 0.5s; }

.event-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-item:hover .event-image img {
    transform: scale(1.05);
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-event 0.6s linear;
    pointer-events: none;
    z-index: 100;
}

@keyframes ripple-event {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

.event-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.event-status.ongoing {
    color: #67c23a;
}

.event-status.upcoming {
    color: #e6a23c;
}

.event-status.ended {
    color: #909399;
}

.event-info {
    padding: 12px;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
}

.event-time, .event-location, .event-participants, .event-desc {
    font-size: 13px;
    color: var(--text-color-secondary);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.event-time i, .event-location i, .event-participants i {
    font-size: 14px;
    margin-right: 5px;
}

.event-desc {
    margin-top: 8px;
    line-height: 1.4;
}

/* 暗黑模式调整 */
@media (prefers-color-scheme: dark) {
    .event-list.loading::before {
        border-color: rgba(255, 255, 255, 0.1);
        border-top-color: var(--primary-color);
    }
    
    .ripple-effect {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* 空状态提示 */
.event-list .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.event-list .empty-state .icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.event-list .empty-state .text {
    font-size: 14px;
}

/* 查看更多按钮样式 */
.view-more-events {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
}

.view-more-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background: var(--primary-color-light);
}

.view-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.view-more-btn:hover i {
    transform: translateX(3px);
}

/* 企业文化相关样式 */
.company-values,
.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.value-item,
.benefit-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform 0.3s ease;
}

.value-item:hover,
.benefit-item:hover {
    transform: translateY(-3px);
}

.value-icon,
.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(63, 81, 181, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 10px;
}

.value-icon i,
.benefit-icon i {
    font-size: 20px;
}

.value-title,
.benefit-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.value-desc,
.benefit-desc {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.4;
}

/* 黑暗模式适配 */
@media (prefers-color-scheme: dark) {
    .job-tag {
        background-color: rgba(63, 81, 181, 0.2);
    }
    
    .view-more-link {
        background-color: rgba(63, 81, 181, 0.15);
    }
    
    .view-more-link:hover {
        background-color: rgba(63, 81, 181, 0.25);
    }
    
    .plan-card,
    .job-item,
    .event-item,
    .value-item,
    .benefit-item {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .plan-schedule::before {
        background-color: #444;
    }
    
    .schedule-dot {
        border-color: #444;
    }
    
    .event-status {
        background-color: rgba(0, 0, 0, 0.7);
    }
    
    .value-icon,
    .benefit-icon {
        background-color: rgba(63, 81, 181, 0.15);
    }
}

/* 响应式适配 */
@media (max-width: 375px) {
    .company-values,
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .plan-schedule {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .plan-schedule::before {
        display: none;
    }
    
    .schedule-item {
        width: 50%;
        flex: none;
        margin-bottom: 10px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-title {
        margin-bottom: 5px;
    }
}

/* 分享面板样式 */
.share-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.share-panel.show {
    opacity: 1;
    visibility: visible;
}

.share-panel-content {
    width: 100%;
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.share-panel.show .share-panel-content {
    transform: translateY(0);
}

.share-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.share-panel-header h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.share-panel-header .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    padding: 5px;
}

.share-options {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    padding: 10px;
}

.share-option i {
    font-size: 36px;
    margin-bottom: 8px;
    color: #555;
}

.share-option.wechat i {
    color: #07c160;
}

.share-option.weibo i {
    color: #e6162d;
}

.share-option.qq i {
    color: #12b7f5;
}

.share-option.copy-link i {
    color: #666;
}

.share-option span {
    font-size: 12px;
}

/* 吐司提示样式 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

/* 按钮点击波纹效果 */
.click-effect {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 5px;
    height: 5px;
    transform: scale(1);
    opacity: 0.6;
    animation: ripple 0.3s linear;
}

@keyframes ripple {
    to {
        transform: scale(40);
        opacity: 0;
    }
}

/* 卡片入场动画 */
.job-item, .event-item, .value-item, .benefit-item, .plan-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.job-item.visible, .event-item.visible, .value-item.visible, .benefit-item.visible, .plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 增加页面滚动时的头部效果 */
.header.header-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .share-panel-content {
        background-color: #1c1c1e;
    }
    
    .share-panel-header h3 {
        color: #fff;
    }
    
    .share-panel-header .close-btn {
        color: #fff;
    }
    
    .share-option span {
        color: #ddd;
    }
    
    .header.header-scrolled {
        background-color: rgba(28, 28, 30, 0.95);
    }
    
    .click-effect {
        background-color: rgba(255, 255, 255, 0.3);
    }
} 